<div>
    {% if request.user.is_authenticated %}
    You are a user 
    {% else %} 
    You are not a user 
    {% endif %}
</div>